package com.yunzheng.studyLeaveSystem.modules.admin.search.week.service;

import com.yunzheng.studyLeaveSystem.modules.admin.search.week.dao.Impl.SearchDaoImpl;
import com.yunzheng.studyLeaveSystem.modules.admin.search.week.dao.SearchDao;
import com.yunzheng.studyLeaveSystem.modules.admin.search.week.entity.SearchEntity;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: YunZheng
 * @Date: 2023/01/30/10:53
 * @Description:
 */
public class SearchService {
    public List<SearchEntity> showInformation(String name) throws Exception {
        SearchDao searchDao = new SearchDaoImpl();

       
        return searchDao.queryInformation(name);
    }
}
   



